const Koa = require("koa");
const static = require("koa-static");

const app = new Koa();

app.use(static("./uploads")); // 静态资源目录
app.use(static("./build")); // 静态资源目录

app.listen(8080, () => {
  console.log("服务器启动成功");
});
